/**
 * @const
 */
var webapp = (function(){
	return {
		/**
		 * Initialization of the basic Ext JS environment, like
		 *  blank image URL and quick tips.
		 * @const
		 */
		initEnvironment: function (){
			/**
			 * This is a DATA URL of a 1x1 transparent pixel.
			 * @const
			 * @type {string}
			 */
			Ext.BLANK_IMAGE_URL = '';

			// Ext.getClassName('Ext.QuickTips').init();
		},

		/**
		 * The main function that is called for the initialization of the whole environment.
		 * @const
		 * @param scope {function} initialization function that should be called
		 *  when web page is completly loaded.
		 */
		main: function (scope) {
			this.initEnvironment();
			Ext.onReady(scope.init);
		}
	};
})();